package com.zyz.sunliky.mapper.yunshu;

import com.zyz.sunliky.entity.RequestData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.hpsf.Decimal;

import java.util.List;
import java.util.Map;


@Mapper
public interface FinanceMapper {


    /**
     * 获取员工历史借款总额
     * @return
     */
    Map<String, Decimal> getQuantity(@Param("id")String id);

    Map<String, Decimal> getHisQuantity(RequestData data);

    String getCreater(String  id);
    //List<Map<String, Object>>getOrderNumber(String  id);

    Map<String, Object> getStatus(String id);

    String getSunOrder(String id);

    List<Map<String, Object>> findHeadList(String id);
    /**查询付款主表**/
    List<Map<String, Object>> findPaymentHeadList(String id);

    /**查询明细表**/
    List<Map<String, Object>> findBodyList(String id);
    /**查询付款明细表**/
    List<Map<String, Object>> findPaymentBodyList(String id);

    /**查询客户类型**/
    Map<String, Object> getCustomerType(String id);



}
